package com.yc.login.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "login")
@Data
public class LoginProperties {

    private String tableName;
    private String usernameColumn;
    private String passwordColumn;
    private String emailColumn;
    private String userClass;
    private String emailFrom;

    private List<String> interceptors;
}
